/**
 * 手机品牌抽象类
 * @author liaosh
 * @date 2022-10-21 15:12
 */
public abstract class HandsetBrand {

    /**
     * 手机中的软件，软件属于手机，是一个聚合的关系
     */
    protected HandsetSoft soft;

    protected String brandName;

    public HandsetBrand(String brandName) {
        this.brandName = brandName;
    }

    public void setSoft(HandsetSoft soft) {
        this.soft = soft;
    }

    public abstract void run();
}
